package com.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class User implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer userId;
    private String  username;
    private String  password;
    private String  nickname;
    private String  realname;
    private String  userImg;
    private String  userMobile;
    private String  userEmail;
    private String  userSex;
    private Date    userBirth;
    private Date    userRegtime;
    private Date    userModtime;

}
